package edu.service;

import edu.dao.UserRoleDAO;
import edu.model.UserRole;


public class UserRoleService {
	
	private int urId;
	public int getUrId() {
		return urId;
	}
	public void setUrId(int urId) {
		this.urId = urId;
	}
	
	UserRole userRole;
	private UserRoleDAO userRoleDAO = null;
	
	
	public UserRole getUserRole() {
		return userRole;
	}
	public void setUserRole(UserRole userRole) {
		this.userRole = userRole;
	}
	public UserRoleDAO getUserRoleDAO() {
		return userRoleDAO;
	}
	
	public void setUserRoleDAO(UserRoleDAO userRoleDAO) {
		this.userRoleDAO = userRoleDAO;
	}
	
	public void deleteUserRole(UserRole userRole) {
		userRoleDAO.delete(userRole);
	}

}